package com.rcnie.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class User {

    private String id;
    private String password;
    private String username;

    @TableField(fill= FieldFill.INSERT,value = "create_time")
    private LocalDateTime createTime;

    @TableField(fill= FieldFill.INSERT_UPDATE,value = "update_time")
    private LocalDateTime updateTime;
}
